package com.medical.data.constEnum;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


public enum CommonEnum {

    ZERO("0",null,null,null),
    ONE("1",null,null,null),
    TOW("2",null,null,null),
    LIMIT(null,"默认分页限制条数",6,null),
    LIMIT1(null,"默认项目分页限制条数",8,null),
    CURRENT(null,"默认当前页",1,null),

    OTHER_PATIENT_LIMIT(null,"默认患者查询分页限制条数",10,null),
    OTHER_PATIENT_CURRENT(null,"默认患者查询当前页",1,null),

    OTHER_FORM_LIMIT(null,"默认表单查询分页限制条数",8,null),
    OTHER_FORM_CURRENT(null,"默认表单查询当前页",1,null),

    NUMBERONE(null,null,null,1)
    ;

    @ApiModelProperty(value = "常量值")
    private String commonEnum;

    @ApiModelProperty(value = "描述")
    private String desc;

    @ApiModelProperty(value = "描述")
    private Integer value;

    @ApiModelProperty(value = "数值")
    private Integer number;

    CommonEnum(String commonEnum, String desc, Integer value, Integer number) {
        this.commonEnum = commonEnum;
        this.desc = desc;
        this.value = value;
        this.number = number;
    }

    public String getCommonEnum() {
        return commonEnum;
    }

    public String getDesc() {
        return desc;
    }

    public void setCommonEnum(String commonEnum) {
        this.commonEnum = commonEnum;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getValue() {
        return this.value;
    }
    public Integer getNumber() {
        return number;
    }
}
